package com.example.zhanghao.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@ApiModel(value = "返回结果")
public class CommonVo<T> {
    @ApiModelProperty(value = "状态码",example = "200")
    private int code= 200;

    @ApiModelProperty(value = "消息",example = "请求成功")
    private  String message;

    private T data;
}
